package com.jaemon.commons.toolkit.exception;

import com.jaemon.commons.toolkit.IPairs;
import lombok.Getter;

/**
 * @author Jaemon
 */
public class BaseException extends RuntimeException {
    @Getter
    private IPairs pairs;

    public BaseException(String msg, IPairs pairs) {
        super(msg);
        this.pairs = pairs;
    }

    public BaseException(Throwable cause, IPairs pairs) {
        super(cause);
        this.pairs = pairs;
    }
}